package cn.stylefeng.guns.modular.storeProcurement.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 门店采购单
 * </p>
 *
 * @author wp
 * @since 2025-09-02
 */
@TableName("store_procurement")
public class StoreProcurement implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 单据状态
     */
    @TableField("order_state")
    private String orderState;

    /**
     * 配送日
     */
    @TableField("peisong_time")
    private String peisongTime;

    /**
     * 订单号
     */
    @TableField("order_out_number")
    private String orderOutNumber;

    /**
     * 单据类型
     */
    @TableField("order_type")
    private String orderType;

    /**
     * 发货单位id
     */
    @TableField("set_unit_id")
    private Long setUnitId;

    /**
     * 发货单位
     */
    @TableField("set_unit")
    private String setUnit;

    /**
     * 发货地址
     */
    @TableField("set_location")
    private String setLocation;

    /**
     * 发货地址id
     */
    @TableField("set_location_id")
    private Long setLocationId;

    /**
     * 联系人
     */
    @TableField("set_people")
    private String setPeople;

    /**
     * 电话
     */
    @TableField("set_tel")
    private String setTel;

    /**
     * 发货仓库id
     */
    @TableField("set_warehouse_id")
    private Long setWarehouseId;

    /**
     * 发货仓库
     */
    @TableField("set_warehouse")
    private String setWarehouse;

    /**
     * 收货客户id
     */
    @TableField("get_unit_id")
    private Long getUnitId;

    /**
     * 收货客户
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * 收货地址
     */
    @TableField("get_location")
    private String getLocation;

    /**
     * 收货地址id
     */
    @TableField("get_location_id")
    private Long getLocationId;

    /**
     * 联系人
     */
    @TableField("get_people")
    private String getPeople;

    /**
     * 电话
     */
    @TableField("get_tel")
    private String getTel;

    /**
     * 商品数
     */
    @TableField("goods_num")
    private String goodsNum;

    /**
     * 数量
     */
    @TableField("out_num")
    private String outNum;

    /**
     * 整件数量
     */
    @TableField("z_num")
    private String zNum;

    /**
     * 拆零数量
     */
    @TableField("l_num")
    private String lNum;

    /**
     * 体积
     */
    @TableField("out_volume")
    private String outVolume;

    /**
     * 创建人
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 提交人
     */
    @TableField("submit_user_name")
    private String submitUserName;

    /**
     * 撤销人
     */
    @TableField("revoke_user_name")
    private String revokeUserName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 提交时间
     */
    @TableField("submit_time")
    private Date submitTime;

    /**
     * 撤销时间
     */
    @TableField("revoke_time")
    private Date revokeTime;

    /**
     * 完成时间
     */
    @TableField("complete_time")
    private Date completeTime;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;

    /**
     * 关联单据
     */
    @TableField("association_order")
    private String associationOrder;

    /**
     * 关联单据类型
     */
    @TableField("association_order_type")
    private String associationOrderType;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品码
     */
    @TableField("goods_pcode69")
    private String goodsPcode69;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 换算率
     */
    @TableField("rate")
    private String rate;

    /**
     * 数量
     */
    @TableField("ps_num")
    private String psNum;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    /**
     * v5
     */
    @TableField("v5")
    private String v5;

    /**
     * v6
     */
    @TableField("v6")
    private String v6;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 新零帮收货客户id
     */
    @TableField("xlb_client_id")
    private String xlbClientId;

    /**
     * 补货单类型
     */
    @TableField("xlb_request_order_type")
    private String xlbRequestOrderType;

    /**
     * 新零帮发货门店id
     */
    @TableField("xlb_set_unit_id")
    private String xlbSetUnitId;

    /**
     * 新零帮发货仓库id
     */
    @TableField("xlb_set_warehouse_id")
    private String xlbSetWarehouseId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getPeisongTime() {
        return peisongTime;
    }

    public void setPeisongTime(String peisongTime) {
        this.peisongTime = peisongTime;
    }

    public String getOrderOutNumber() {
        return orderOutNumber;
    }

    public void setOrderOutNumber(String orderOutNumber) {
        this.orderOutNumber = orderOutNumber;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Long getSetUnitId() {
        return setUnitId;
    }

    public void setSetUnitId(Long setUnitId) {
        this.setUnitId = setUnitId;
    }

    public String getSetUnit() {
        return setUnit;
    }

    public void setSetUnit(String setUnit) {
        this.setUnit = setUnit;
    }

    public String getSetLocation() {
        return setLocation;
    }

    public void setSetLocation(String setLocation) {
        this.setLocation = setLocation;
    }

    public Long getSetLocationId() {
        return setLocationId;
    }

    public void setSetLocationId(Long setLocationId) {
        this.setLocationId = setLocationId;
    }

    public String getSetPeople() {
        return setPeople;
    }

    public void setSetPeople(String setPeople) {
        this.setPeople = setPeople;
    }

    public String getSetTel() {
        return setTel;
    }

    public void setSetTel(String setTel) {
        this.setTel = setTel;
    }

    public Long getSetWarehouseId() {
        return setWarehouseId;
    }

    public void setSetWarehouseId(Long setWarehouseId) {
        this.setWarehouseId = setWarehouseId;
    }

    public String getSetWarehouse() {
        return setWarehouse;
    }

    public void setSetWarehouse(String setWarehouse) {
        this.setWarehouse = setWarehouse;
    }

    public Long getGetUnitId() {
        return getUnitId;
    }

    public void setGetUnitId(Long getUnitId) {
        this.getUnitId = getUnitId;
    }

    public String getGetUnit() {
        return getUnit;
    }

    public void setGetUnit(String getUnit) {
        this.getUnit = getUnit;
    }

    public String getGetLocation() {
        return getLocation;
    }

    public void setGetLocation(String getLocation) {
        this.getLocation = getLocation;
    }

    public Long getGetLocationId() {
        return getLocationId;
    }

    public void setGetLocationId(Long getLocationId) {
        this.getLocationId = getLocationId;
    }

    public String getGetPeople() {
        return getPeople;
    }

    public void setGetPeople(String getPeople) {
        this.getPeople = getPeople;
    }

    public String getGetTel() {
        return getTel;
    }

    public void setGetTel(String getTel) {
        this.getTel = getTel;
    }

    public String getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsNum = goodsNum;
    }

    public String getOutNum() {
        return outNum;
    }

    public void setOutNum(String outNum) {
        this.outNum = outNum;
    }

    public String getzNum() {
        return zNum;
    }

    public void setzNum(String zNum) {
        this.zNum = zNum;
    }

    public String getlNum() {
        return lNum;
    }

    public void setlNum(String lNum) {
        this.lNum = lNum;
    }

    public String getOutVolume() {
        return outVolume;
    }

    public void setOutVolume(String outVolume) {
        this.outVolume = outVolume;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getSubmitUserName() {
        return submitUserName;
    }

    public void setSubmitUserName(String submitUserName) {
        this.submitUserName = submitUserName;
    }

    public String getRevokeUserName() {
        return revokeUserName;
    }

    public void setRevokeUserName(String revokeUserName) {
        this.revokeUserName = revokeUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public Date getRevokeTime() {
        return revokeTime;
    }

    public void setRevokeTime(Date revokeTime) {
        this.revokeTime = revokeTime;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getAssociationOrder() {
        return associationOrder;
    }

    public void setAssociationOrder(String associationOrder) {
        this.associationOrder = associationOrder;
    }

    public String getAssociationOrderType() {
        return associationOrderType;
    }

    public void setAssociationOrderType(String associationOrderType) {
        this.associationOrderType = associationOrderType;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsPcode69() {
        return goodsPcode69;
    }

    public void setGoodsPcode69(String goodsPcode69) {
        this.goodsPcode69 = goodsPcode69;
    }

    public String getGoodsSpecs() {
        return goodsSpecs;
    }

    public void setGoodsSpecs(String goodsSpecs) {
        this.goodsSpecs = goodsSpecs;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getRate() {
        return rate;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public String getPsNum() {
        return psNum;
    }

    public void setPsNum(String psNum) {
        this.psNum = psNum;
    }

    public String getV1() {
        return v1;
    }

    public void setV1(String v1) {
        this.v1 = v1;
    }

    public String getV2() {
        return v2;
    }

    public void setV2(String v2) {
        this.v2 = v2;
    }

    public String getV3() {
        return v3;
    }

    public void setV3(String v3) {
        this.v3 = v3;
    }

    public String getV4() {
        return v4;
    }

    public void setV4(String v4) {
        this.v4 = v4;
    }

    public String getV5() {
        return v5;
    }

    public void setV5(String v5) {
        this.v5 = v5;
    }

    public String getV6() {
        return v6;
    }

    public void setV6(String v6) {
        this.v6 = v6;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    public String getXlbClientId() {
        return xlbClientId;
    }

    public void setXlbClientId(String xlbClientId) {
        this.xlbClientId = xlbClientId;
    }

    public String getXlbRequestOrderType() {
        return xlbRequestOrderType;
    }

    public void setXlbRequestOrderType(String xlbRequestOrderType) {
        this.xlbRequestOrderType = xlbRequestOrderType;
    }

    public String getXlbSetUnitId() {
        return xlbSetUnitId;
    }

    public void setXlbSetUnitId(String xlbSetUnitId) {
        this.xlbSetUnitId = xlbSetUnitId;
    }

    public String getXlbSetWarehouseId() {
        return xlbSetWarehouseId;
    }

    public void setXlbSetWarehouseId(String xlbSetWarehouseId) {
        this.xlbSetWarehouseId = xlbSetWarehouseId;
    }

    @Override
    public String toString() {
        return "StoreProcurement{" +
        "id=" + id +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", orderState=" + orderState +
        ", peisongTime=" + peisongTime +
        ", orderOutNumber=" + orderOutNumber +
        ", orderType=" + orderType +
        ", setUnitId=" + setUnitId +
        ", setUnit=" + setUnit +
        ", setLocation=" + setLocation +
        ", setLocationId=" + setLocationId +
        ", setPeople=" + setPeople +
        ", setTel=" + setTel +
        ", setWarehouseId=" + setWarehouseId +
        ", setWarehouse=" + setWarehouse +
        ", getUnitId=" + getUnitId +
        ", getUnit=" + getUnit +
        ", getLocation=" + getLocation +
        ", getLocationId=" + getLocationId +
        ", getPeople=" + getPeople +
        ", getTel=" + getTel +
        ", goodsNum=" + goodsNum +
        ", outNum=" + outNum +
        ", zNum=" + zNum +
        ", lNum=" + lNum +
        ", outVolume=" + outVolume +
        ", createUserName=" + createUserName +
        ", submitUserName=" + submitUserName +
        ", revokeUserName=" + revokeUserName +
        ", createTime=" + createTime +
        ", submitTime=" + submitTime +
        ", revokeTime=" + revokeTime +
        ", completeTime=" + completeTime +
        ", notes=" + notes +
        ", associationOrder=" + associationOrder +
        ", associationOrderType=" + associationOrderType +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", goodsPcode69=" + goodsPcode69 +
        ", goodsSpecs=" + goodsSpecs +
        ", unit=" + unit +
        ", rate=" + rate +
        ", psNum=" + psNum +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        ", v5=" + v5 +
        ", v6=" + v6 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", xlbClientId=" + xlbClientId +
        ", xlbRequestOrderType=" + xlbRequestOrderType +
        ", xlbSetUnitId=" + xlbSetUnitId +
        ", xlbSetWarehouseId=" + xlbSetWarehouseId +
        "}";
    }
}
